Welcome![Sign In][Sign Up]
Location:
Search - matlab tutorial

Search list

[OtherINTRODUCTION TO MATLAB FOR

Description: 1 Tutorial lessons 1 1 1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Basic features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3 A minimum MATLAB session . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3.1 Starting MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3.2 Using MATLAB as a calculator . . . . . . . . . . . . . . . . . . . . . 4 1.3.3 Quitting MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4.1 Creating MATLAB variables . . . . . . . . . . . . . . . . . . . . . . . 5 1.4.2 Overwriting variable . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4.3 Error messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4.4 Making corrections . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.4.5 Controlling the hierarchy of operations or precedence . . . . . . . . . 6 1.4.6 Controlling the appearance of °oating point number . . . . . . . . . . 8 1.4.7 Managing the workspace . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.4.8 Keeping track of your work session . . . . . . . . . . . . . . . . . . . 9 1.4.9 Entering multiple statements per line . . . . . . . . . . . . . . . . . . 9 1.4.10 Miscellaneous commands . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.4.11 Getting help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.5 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2 Tutorial lessons 2 12 2.1 Mathematical functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.1.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.2 Basic plotting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.1 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.2 Creating simple plots . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.3 Adding titles, axis labels, and annotations . . . . . . . . . . . . . . . 15 2.2.4 Multiple data sets in one plot . . . . . . . . . . . . . . . . . . . . . . 16 2.2.5 Specifying line styles and colors . . . . . . . . . . . . . . . . . . . . . 17 2.3 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.4 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.5 Matrix generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.5.1 Entering a vector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.5.2 Entering a matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.5.3 Matrix indexing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2.5.4 Colon operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2.5.5 Linear spacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2.5.6 Colon operator in a matrix . . . . . . . . . . . . . . . . . . . . . . . . 22 2.5.7 Creating a sub-matrix . . . . . . . . . . . . . . . . . . . . . . . . . . 23 2.5.8 Deleting row or column . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2.5.9 Dimension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2.5.10 Continuation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.5.11 Transposing a matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.5.12 Concatenating matrices . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.5.13 Matrix generators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.5.14 Special matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 2.6 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3 Array operations and Linear equations 30 3.1 Array operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.1.1 Matrix arithmetic operations . . . . . . . . . . . . . . . . . . . . . . . 30 3.1.2 Array arithmetic operations . . . . . . . . . . . . . . . . . . . . . . . 30 3.2 Solving linear equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.2.1 Matrix inverse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 3.2.2 Matrix functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.3 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 4 Introduction to programming in MATLAB 35 4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 4.2 M-File Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 4.2.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 4.2.2 Script side-eRects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 4.3 M-File functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 4.3.1 Anatomy of a M-File function . . . . . . . . . . . . . . . . . . . . . . 38 4.3.2 Input and output arguments . . . . . . . . . . . . . . . . . . . . . . . 40 4.4 Input to a script ¯le . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 4.5 Output commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 4.6 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 5 Control °ow and operators 43 5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 5.2 Control °ow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 5.2.1 The ``if...end'' structure . . . . . . . . . . . . . . . . . . . . . . . 43 5.2.2 Relational and logical operators . . . . . . . . . . . . . . . . . . . . . 45 5.2.3 The ``for...end'' loop . . . . . . . . . . . . . . . . . . . . . . . . . 45 5.2.4 The ``while...end'' loop . . . . . . . . . . . . . . . . . . . . . . . 46 5.2.5 Other °ow structures . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 5.2.6 Operator precedence . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 5.3 Saving output to a ¯le . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 5.4 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 6 Debugging M-¯les 49 6.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.2 Debugging process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.2.1 Preparing for debugging . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.2.2 Setting breakpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.2.3 Running with breakpoints . . . . . . . . . . . . . . . . . . . . . . . . 50 6.2.4 Examining values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 6.2.5 Correcting and ending debugging . . . . . . . . . . . . . . . . . . . . 51 6.2.6 Ending debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 6.2.7 Correcting an M-¯le . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Platform: | Size: 258288 | Author: taffy320 | Hits:

[Windows DevelopVC调用matlab图像处理工具箱进行canny边缘检测

Description: VC调用matlab图像处理工具箱进行canny边缘检测,含pdf教程-edge detection by VC calling matlab image toolbox, pdf tutorial included.
Platform: | Size: 193536 | Author: 沈郑燕 | Hits:

[matlabOFDM-Tutorial[1]

Description:
Platform: | Size: 73728 | Author: 火箭 | Hits:

[OthermatlabJiaoCHeng

Description: Matlab的教程 对于初学者来说很有帮助-Matlab tutorial helpful for a newcomer
Platform: | Size: 289792 | Author: sjx | Hits:

[Program docMATLAB_JiaoChen

Description: 这是个MATLAB教程,讲的挺详细的,挺综合,重点突出,适合初学者看。-This is a MATLAB tutorial, speak very detailed, very comprehensive, focused and look for beginners.
Platform: | Size: 190464 | Author: ligang | Hits:

[BooksMATLAB7

Description: matlab学习教程,经典 matlab学习教程,经典 -matlab tutorial learning, classical learning tutorial matlab, matlab classical learning tutorial, classic
Platform: | Size: 11959296 | Author: | Hits:

[OtherIntroMatlab

Description: MATLAB工具箱\教程psl and pca 工具箱使用方法-MATLAB toolbox tutorial psl and pca toolbox to use
Platform: | Size: 4474880 | Author: 士大夫 | Hits:

[Othermatlab

Description: 关于MATLAB程序设计的PPT教程,大家一起交流。-On MATLAB programming tutorial PPT, with U.S. exchanges.
Platform: | Size: 208896 | Author: 臧文乾 | Hits:

[OtherMATLAB

Description: 浙江师范大学PPT教程 -Zhejiang Normal University Zhejiang Normal University PPT Tutorial Tutorial PPT
Platform: | Size: 28672 | Author: 唐自威 | Hits:

[matlabpca

Description: 关于matlab主元分析的一个简单的实例,可供初学者参考学习。-Matlab PCA on a simple example of reference for beginners to learn.
Platform: | Size: 3072 | Author: 刘明 | Hits:

[OtherMatlab

Description: 基于matlab的倒立摆系统实时模糊控制教程-Matlab inverted pendulum based on real-time fuzzy control system tutorial
Platform: | Size: 258048 | Author: | Hits:

[Software EngineeringSTK-training-tutorial

Description: STK 是卫星仿真工具包,由美国AGI开发的一款在航天工业领域中处于绝对领先地位的商品化分析软件。这里附上的是这个软件的教程。-STK is a satellite simulation tool kit developed by the United States AGI a field in the aerospace industry in the commercialization of the absolute leading position analysis software. Here attached is the software tutorial.
Platform: | Size: 9157632 | Author: 朝霞 | Hits:

[OtherSimulink1

Description: MATLAB中SIMULINK模块的教程 -SIMULINK module in MATLAB Tutorial
Platform: | Size: 6146048 | Author: 王浩 | Hits:

[OtherSimulink2

Description: MATLAB中SIMULINK模块的教程-SIMULINK module in MATLAB Tutorial
Platform: | Size: 5439488 | Author: 王浩 | Hits:

[OtherSimulink3

Description: MATLAB中SIMULINK模块的教程-SIMULINK module in MATLAB Tutorial
Platform: | Size: 10769408 | Author: 王浩 | Hits:

[OtherMatlabgetstart

Description: 美国大学Matlab入门教程,对matlab学习以及相关专业英语学习都有很大帮助-American University in Matlab Tutorial on matlab study and related professional English language learning are of great help
Platform: | Size: 1233920 | Author: ruizebao | Hits:

[OtherMatlab-Simple-Editon

Description: Doc版的Matlab编程教程-精简版噢,很不错啊-Doc version of Matlab Programming Tutorial- Starter Edition Oh, very错啊
Platform: | Size: 126976 | Author: 胡兵 | Hits:

[Algorithmwork

Description: MATLAB教程中提到的根据C-14计算化石生活年代的程序,放在MATLAB文件夹下的工作目录中,使用C14命令即可运行,根据教程要求写成然后换成中文提示方式,呵呵,方便处学者!-MATLAB tutorial mentioned in the calculation in accordance with C-14 during the process of living fossils, on the MATLAB folder under the working directory, use the C14 command to run, according to curriculum requirements written into Chinese and then prompts the way, huh, huh, convenient Office scholars!
Platform: | Size: 1024 | Author: 黄敏 | Hits:

[matlabMATLAB_jingtong

Description: Matlab教程一,包括多项式、曲线拟合、三次样条等。-Matlab Tutorial 1, including polynomials, curve fitting, cubic spline and so on.
Platform: | Size: 640000 | Author: 张立青 | Hits:

[matlabmatlab

Description: matlab学习资料,对于初学者来说是一本不错的入门教程-matlab learning materials, for beginners is a good introductory tutorial
Platform: | Size: 685056 | Author: 田洪伟 | Hits:
« 1 2 3 4 56 7 8 9 10 ... 50 »

CodeBus www.codebus.net